package com.xteam.ecsystem.service.admin;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xteam.ecsystem.dao.MemberDao;

@Service
public class MemberService {

	@Autowired
	public MemberDao memberdao;

	public String getMemberList(int pageIndex, int pageSize, String bmbNick,
			String bgttel, String bgtState) {
		return memberdao.getMemberList(pageIndex, pageSize, bmbNick, bgttel,
				bgtState);
	}

	public String getQuestionList() {
		return memberdao.getQuestionList();
	}

	public void saveOrUpdateMember(Object obj, String id) {
		memberdao.saveOrUpdateMember(obj, id);
	}

	public void delMember(String bmbIdlist) {
		memberdao.delMember(bmbIdlist);
	}
	
	public void operateMember(String bmbIdlist,String type) {
		memberdao.operateMember(bmbIdlist,type);
	}

}
